package ar.com.quickmart.exceptions;

public class AsyncTaskResult<T> {

	private T result;
	private Exception exception;

	public T getResult() {
	    return result;
	}
	public Exception getError() {
	    return exception;
	}

	public AsyncTaskResult(T result) {
	    super();
	    this.result = result;
	}

	public AsyncTaskResult(Exception error) {
	    super();
	    this.exception = error;
	}
	
}
